/*!
\copyright  Copyright (c) 2020 Qualcomm Technologies International, Ltd.\n
            All Rights Reserved.\n
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\brief      RTC
*/

#ifndef RTC_H_
#define RTC_H_

/*-----------------------------------------------------------------------------
------------------ INCLUDES ---------------------------------------------------
-----------------------------------------------------------------------------*/

#include "cli_parse.h"

/*-----------------------------------------------------------------------------
------------------ TYPE DEFINITIONS -------------------------------------------
-----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
------------------ VARIABLES --------------------------------------------------
-----------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------
------------------ PROTOTYPES -------------------------------------------------
-----------------------------------------------------------------------------*/

void rtc_init(void);
void rtc_set_alarm_day(uint8_t day);
void rtc_set_alarm_second(uint8_t second);
void rtc_set_alarm_every_second(void);
void rtc_disable_alarm(void);
CLI_RESULT rtc_cmd(uint8_t cmd_source);

#endif /* RTC_H_ */
